/**
 * @project spring-threadpool-async
 * @description
 * @errorcode SystemException</ br>
 * @author 2022 8:56 huzhengyang Create 1.0 <br>
 * @copyright ©2022-2023
 */

package com.teradata.async.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class Result<T> {
    @JsonProperty(value = "code")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private int code;

    @JsonProperty(value = "msg")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String msg;

    @JsonProperty(value = "data")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private T data;
}
